package microservices.spring_cloud_client.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("spring-cloud-server")
public interface ClientTestRestApi {
	@RequestMapping(value = "/getappname", method = RequestMethod.GET)
	public String getappname();

	@RequestMapping(value = "/serverprint", method = RequestMethod.GET)
	public String clientprint();
}
